<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>设置一个参数</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="oauthprovider.reportproblem.html">OAuthProvider::reportProblem</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="oauthprovider.setrequesttokenpath.html">OAuthProvider::setRequestTokenPath</a></div>
 <div class="up"><a href="class.oauthprovider.html">OAuthProvider</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="oauthprovider.setparam" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">OAuthProvider::setParam</h1>
  <p class="verinfo">(PECL OAuth &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">OAuthProvider::setParam</span> &mdash; <span class="dc-title">设置一个参数</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-oauthprovider.setparam-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">final</span> <span class="modifier">public</span> <span class="type">bool</span> <span class="methodname"><strong>OAuthProvider::setParam</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$param_key</code></span>
   [, <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$param_val</code></span>
  ] )</div>

  <p class="para rdfs-comment">
   设置一个参数。
  </p>

  <div class="warning"><strong class="warning">Warning</strong><p class="simpara">本函数还未编写文档，仅有参数列表。</p></div>

 </div>


 <div class="refsect1 parameters" id="refsect1-oauthprovider.setparam-parameters">
  <h3 class="title">参数</h3>
  <dl>

   
    <dt>
<em><code class="parameter">param_key</code></em></dt>

    <dd>

     <p class="para">
      参数的 key 。
     </p>
    </dd>

   
   
    <dt>
<em><code class="parameter">param_val</code></em></dt>

    <dd>

     <p class="para">
      参数的值，此为可选项。
     </p>
    </dd>

   
  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-oauthprovider.setparam-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   成功时返回 <strong><code>TRUE</code></strong>， 或者在失败时返回 <strong><code>FALSE</code></strong>。
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-oauthprovider.setparam-seealso">
  <h3 class="title">参见</h3>
  <ul class="simplelist">
   <li class="member"><span class="methodname"><a href="oauthprovider.addrequiredparameter.html" class="methodname" rel="rdfs-seeAlso">OAuthProvider::addRequiredParameter()</a> - 添加必需的参数</span></li>
  </ul>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="oauthprovider.reportproblem.html">OAuthProvider::reportProblem</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="oauthprovider.setrequesttokenpath.html">OAuthProvider::setRequestTokenPath</a></div>
 <div class="up"><a href="class.oauthprovider.html">OAuthProvider</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
